<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bakalarka: Dokumentace třídy matrix</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generováno programem Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Hlavní&nbsp;stránka</span></a></li>
      <li class="current"><a href="annotated.html"><span>Třídy</span></a></li>
      <li><a href="files.html"><span>Soubory</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Seznam&nbsp;tříd</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarchie&nbsp;tříd</span></a></li>
      <li><a href="functions.html"><span>Seznam&nbsp;členů&nbsp;tříd</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Dokumentace třídy matrix</h1><!-- doxytag: class="matrix" -->Základní třída matice.  
<a href="#_details">...</a>
<p>
<code>#include &lt;<a class="el" href="transformation_8h-source.html">transformation.h</a>&gt;</code>
<p>
<div class="dynheader">
Diagram dědičnosti pro třídu matrix</div>
<div class="dynsection">

<p><center><img src="classmatrix.png" usemap="#matrix_map" border="0" alt=""></center>
<map name="matrix_map">
<area href="classtransformation.html" alt="transformation" shape="rect" coords="0,56,92,80">
</map>
</div>

<p>
<a href="classmatrix-members.html">Seznam všech členů.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Veřejné metody</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#c9bc8f10d83fc15aa49efb59e04c1603">matrix</a> (unsigned)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Konstrukor čtvercové matice.  <a href="#c9bc8f10d83fc15aa49efb59e04c1603"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#5c813817f55160b4b7c927cf0a0feebe">matrix</a> (<a class="el" href="classmatrix.html">matrix</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Kopírovací konstruktor.  <a href="#5c813817f55160b4b7c927cf0a0feebe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#8a2522496ff0ef7096ffcfdc851b85a1">~matrix</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destruktor.  <a href="#8a2522496ff0ef7096ffcfdc851b85a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7db80ce6e47ec2467a9bda0ee1ab7fe"></a><!-- doxytag: member="matrix::transposed" ref="a7db80ce6e47ec2467a9bda0ee1ab7fe" args="()" -->
<a class="el" href="classmatrix.html">matrix</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#a7db80ce6e47ec2467a9bda0ee1ab7fe">transposed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transponuje matici. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classmatrix.html">matrix</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#61982a2544950f7e49b4b764420a6196">multiply</a> (<a class="el" href="classmatrix.html">matrix</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vynásobí matici maticí.  <a href="#61982a2544950f7e49b4b764420a6196"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0cbdbaab986a53c42484289e46ad381"></a><!-- doxytag: member="matrix::operator=" ref="b0cbdbaab986a53c42484289e46ad381" args="(matrix &amp;)" -->
<a class="el" href="classmatrix.html">matrix</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#b0cbdbaab986a53c42484289e46ad381">operator=</a> (<a class="el" href="classmatrix.html">matrix</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vytvoří kopii. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">float *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#b9436aa6c501e83dbb0b5e50e9914393">operator[]</a> (unsigned)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vrací řádek matice.  <a href="#b9436aa6c501e83dbb0b5e50e9914393"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="592081278be307bdc813332cf4e871f3"></a><!-- doxytag: member="matrix::getLen" ref="592081278be307bdc813332cf4e871f3" args="()" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmatrix.html#592081278be307bdc813332cf4e871f3">getLen</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Počet řádků nebo sloupců matice. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailní popis</h2>
Základní třída matice. 
<p>
Třída implementující čtvercovou matici s operací násobení. <hr><h2>Dokumentace konstruktoru a destruktoru</h2>
<a class="anchor" name="c9bc8f10d83fc15aa49efb59e04c1603"></a><!-- doxytag: member="matrix::matrix" ref="c9bc8f10d83fc15aa49efb59e04c1603" args="(unsigned)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">matrix::matrix           </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>m</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Konstrukor čtvercové matice. 
<p>
Pamět matice je alokována dynamicky, při zániku destruktor pamět automaticky dealokuje. Každý prvek matice je inicializován hodnotou INITIAL_VALUE. <dl compact><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>m</em>&nbsp;</td><td>Počet řádků, nebo sloupců matice. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>Viz také:</b></dt><dd>INITIAL_VALUE, <a class="el" href="classmatrix.html#5c813817f55160b4b7c927cf0a0feebe" title="Kopírovací konstruktor.">matrix(matrix &amp;)</a>, <a class="el" href="classmatrix.html#8a2522496ff0ef7096ffcfdc851b85a1" title="Destruktor.">~matrix()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="5c813817f55160b4b7c927cf0a0feebe"></a><!-- doxytag: member="matrix::matrix" ref="5c813817f55160b4b7c927cf0a0feebe" args="(matrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">matrix::matrix           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmatrix.html">matrix</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>Ma</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Kopírovací konstruktor. 
<p>
Vytváří hlubokou kopii. 
</div>
</div><p>
<a class="anchor" name="8a2522496ff0ef7096ffcfdc851b85a1"></a><!-- doxytag: member="matrix::~matrix" ref="8a2522496ff0ef7096ffcfdc851b85a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">matrix::~matrix           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destruktor. 
<p>
Uvolní všechnu pamět alokovanou v konstruktoru. 
</div>
</div><p>
<hr><h2>Dokumentace k metodám</h2>
<a class="anchor" name="61982a2544950f7e49b4b764420a6196"></a><!-- doxytag: member="matrix::multiply" ref="61982a2544950f7e49b4b764420a6196" args="(matrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmatrix.html">matrix</a> &amp; matrix::multiply           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmatrix.html">matrix</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>Ma</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vynásobí matici maticí. 
<p>
Počet řádků a počet sloupců obou matic musí být stejný. <dl class="see" compact><dt><b>Viz také:</b></dt><dd><a class="el" href="classmatrix.html#592081278be307bdc813332cf4e871f3" title="Počet řádků nebo sloupců matice.">getLen()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="b9436aa6c501e83dbb0b5e50e9914393"></a><!-- doxytag: member="matrix::operator[]" ref="b9436aa6c501e83dbb0b5e50e9914393" args="(unsigned)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float * matrix::operator[]           </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vrací řádek matice. 
<p>
Řádek matice představuje jednorozměrné pole. Prvky matice lze měnit, nebo získávat stejným způsobem jako v dvojrozměrném poli. <dl compact><dt><b>Parametry:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>Index řádku matice, i = 0, 1, ..., getlen() - 1. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>Dokumentace pro tuto třídu byla generována z následujících souborů:<ul>
<li>src/<a class="el" href="transformation_8h-source.html">transformation.h</a><li>src/transformation.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generováno Tue Mar 2 10:34:17 2010 pro projekt Bakalarka programem&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>
